<link rel="stylesheet" type="text/css" href="../css/themes/default/easyui.css">
<link rel="stylesheet" type="text/css" href="../css/themes/icon.css">

<div id="panel-satisfaction-info" >
  	
	<div class="easyui-panel list-panel" data-options="openAnimation:'slide',closeAnimation:'slide'">
		<div class="well well-small" style="margin-left: 5px;margin-top: 5px">
		
			<p>
				<span class="badge">提示</span>
				 <strong><font color="red">双击</font></strong> 记录行, 可以查看质询详情
			</p>
		</div>
		<table class="easyui-datagrid dg-list" 
			data-options="rownumbers:true,
			animate: true,						
			striped:true,
			border:true,
			//singleSelect:false,
			idField: 'id',						
			fitColumns: true,
			checkOnSelect:true,
			selectOnCheck:true">
			
			<thead>						
				<tr>
					<th field="ck" checkbox="true"></td>
					<th field="bizno" width="80" align="center">质询编号</th>				
					<th field="litigant_deptname" width="60" align="center">科室名称</th>
					<th field="litigant_name" width="60" align="center">医生姓名</th>
					<th field="inquiry_item" width="60" align="center">质询事项</th>
					<th field="inquiryReason" width="60" align="center">质询原因</th>				
					<th field="inquiry_date" width="60" align="center">质询日期</th>				
					<th field="litigant_content" width="60" align="center">责任人意见</th>				
					<th field="decide_result" width="60" align="center">裁决意见</th>
					<th field="affirm_result" width="100" align="center">认定意见</th>														
					<th field="flowState" width="60" align="center">质询环节</th>						
				</tr>
			</thead>
			
		</table>
	</div> 

	<div class="easyui-panel form-panel" data-options="closed:true,openAnimation:'slide',closeAnimation:'slide'">
			<div class="well well-small" style="margin-left: 5px;margin-top: 5px">
		
				<p>
					<span class="badge">提示</span>
					 <strong><font color="red">点击 返回</font></strong> 可以返回列表页面
				</p>
			</div>
			<div>
						
				<a href="javascript:void(0);" class="easyui-linkbutton function-btn l-btn l-btn-small l-btn-plain" iconcls="icon-undo" plain="true">返回</a>
				<!--<a href="javascript:void(0);" class="easyui-linkbutton function-btn l-btn l-btn-small l-btn-plain" iconcls="icon-more" plain="true">查看详情</a>-->
				
			</div>
			
  			<form method="post">
			 	 	
		    <fieldset>		
			 <table>
			 		 	
				 <tr>
				    <th>质询编号</th>
					<td><input name="bizno" id="bizno" placeholder="请输入编号" class="easyui-textbox easyui-validatebox" style="width:300px" type="text" data-options="required:true"/></td>
					<th>质询时间</th>
					<td><input name="inquiry_date" id="inquiry_date" placeholder="请输入编号" type="text" class="easyui-datebox easyui-validatebox"  style="width:300px" data-options="required:true"/></td>					
				</tr>
				
				 <tr>				    
					<th>质询事项</th>
					<td><input id="inquiry_item_code" class="easyui-textbox" name="inquiry_item_code" style="width:300px;" data-options="required:true"/></td>	
				</tr>
				 <tr>
				    <th>质询原因</th>
					<td colspan="3"><input class="easyui-textbox" id="inquiry_reason" name="inquiry_reason" data-options="multiline:true" style="width:674px;height: 50px;" data-options="required:true"></input></td>
				 </tr>
				 <tr>
				    <th>责任部门</th>
					<td><input name="litigant_deptname" id="litigant_deptname" type="text"  buttonText="选择" class="easyui-textbox easyui-validatebox" style="width:300px" data-options="required:true,editable:false"/></td>
					<th>责任人员</th>
					<td><input id="litigant_name" name="litigant_name" type="text"  buttonText="选择" class="easyui-textbox easyui-validatebox" style="width:300px" data-options="required:true,editable:false"/></td>
				 </tr>				 
			
				 <tr>
				    <th>责任人意见</th>
					<td colspan="3"><input class="easyui-textbox" name="litigant_content" data-options="multiline:true" style="width:674px;height: 50px;" ></input></td>
				 </tr>
			
				  <tr>
				    <th>裁决人员</th>
					<td><input id="decide_name" name="decide_name" type="text" class="easyui-textbox easyui-validatebox" style="width:300px" /></td>
					<th>裁决结果</th>
					<td>
						<select id="decide_result_code" class="easyui-combobox" name="decide_result" style="width:300px;" >
							<option value="">请选择...</option>
							<option value="1">处置合理</option>
							<option value="0">处置不合理</option>														
						</select>
					</td>					
				 </tr>
			
				 <tr>
				    <th>裁决意见</th>
					<td colspan="3"><input class="easyui-textbox" name="decide_content" data-options="multiline:true" style="width: 674px;height:50px"></input></td>
				 </tr>
			
				 <tr>
				    <th>认定人员</th>
					<td><input id="affirm_name" name="affirm_name" type="text" class="easyui-textbox easyui-validatebox" style="width:300px" /></td>
					<th>认定结果</th>
					<td>
						<select id="affirm_result_code" class="easyui-combobox" name="affirm_result" style="width:300px;">
							<option value="">请选择...</option>
							<option value="1">认定合理</option>
							<option value="0">认定不合理</option>
						</select>
					</td>					
				 </tr>
			
			
				 <tr>
					<th>认定意见</th>
					<td colspan="3"><input class="easyui-textbox" name="affirm_content" data-options="multiline:true" style="width: 674px;height: 50px;"></input></td>
				</tr>
			 
			</table>
				<input name="id" id="id"  type="hidden"/>
				<input name="bizid" id="bizid"  type="hidden"/>
				<input name="flowInstId" id="flowInstId"  type="hidden"/>
				<input name="flowTaskId" id="flowTaskId"  type="hidden"/>				
				<input name="created" id="created"  type="hidden"/>
				<input name="creater" id="creater"  type="hidden"/>
				
				<input name="litigant_id" id="litigant_id"  type="hidden"/>
				<input id="litigant_deptid" name="litigant_deptid" type="hidden"/>
				
				<input name="decide_id" id="decide_id"  type="hidden"/>						
				<input name="affirm_id" id="affirm_id"  type="hidden"/>	
				<input name="inquiry_item" id="inquiry_item"  type="hidden"/>
				<input name="decide_result" id="decide_result"  type="hidden"/>	
				<input name="affirm_result" id="affirm_result"  type="hidden"/>		
			</fieldset>
		</form>
			
		
		
		<div class="historics" />
	
	</div>
</div>
<script>
requirejs(['popListPage','satisfactionInfo','domReady!'],function(listPage,satisfactionInfo,doc){
	
	listPage.init({doc:doc,
		rootId:'panel-satisfaction-info',
		subSystemCode:'satisfaction',
		moduleCode:'satisfactionInfo',
		queryModule:'satisRank',
		editWindow:'satisfaction-info-win',
		listToolBar:'div.tb-list',
		rowClick:satisfactionInfo.clickRow,
		edit_window_height:500
	});
});	
</script>

